# -*- coding: utf-8 -*-
'''
Created on 05.09.2019

@author: yu03
'''

from PyUeye import file_name, pico_name
import numpy as np
import matplotlib.pyplot as plt

data = np.fromfile(pico_name, dtype='>d')
# print(data)
print(data.shape)
data = data[(data<-1e-200) | (data>1e-200)]
print(data.shape)


plt.figure(1)
plt.plot(data*1e9)
plt.grid(which='both', axis='both')
plt.show()
